<div data-role="page">

  <div data-role="header" data-position="inline">
    <h1>Edit <%= @grade.id %></h1>
    <a href="<%= url_for :action => :show, :id => @grade.object %>" class="ui-btn-left" data-icon="back" data-direction="reverse">
      Cancel
    </a>
    <a href="<%= url_for :action => :delete, :id => @grade.object %>" class="ui-btn-right" data-icon="delete" data-direction="reverse">
      Delete
    </a>
  </div>

  <div data-role="content">
    <form method="POST" action="<%= url_for :action => :update %>">
      <input type="hidden" name="id" value="<%= @grade.object %>"/>
      
          <div data-role="fieldcontain">
            <label for="grade[id]" class="fieldLabel">Id</label>
            <input type="text" id="grade[id]" name="grade[id]" value="<%= @grade.id %>" <%= placeholder( "Id" ) %> />
          </div>
      
          <div data-role="fieldcontain">
            <label for="grade[name]" class="fieldLabel">Name</label>
            <input type="text" id="grade[name]" name="grade[name]" value="<%= @grade.name %>" <%= placeholder( "Name" ) %> />
          </div>
      
          <div data-role="fieldcontain">
            <label for="grade[description]" class="fieldLabel">Description</label>
            <input type="text" id="grade[description]" name="grade[description]" value="<%= @grade.description %>" <%= placeholder( "Description" ) %> />
          </div>
      
      <input type="submit" value="Update"/>
    </form>
  </div>

</div>
